﻿using LPLS.Commons.DBModule;
using LPLS.Commons.Enums;
using LPLS.DBEntities.OEEModule.OEEModels.DataStatisticModels;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPLS.DBEntities.OEEModule.OEEModels.TimeUtilizationModels
{


    [DatabaseKey(DatabaseEnum.CollectionDataResult)]
    [SugarTable(nameof(TimeUtilizationRateConfig))]
    public  class TimeUtilizationRateConfig
    {


        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        public Guid DeviceID { get; set; }

        /// <summary>
        /// 设备部件类型给
        /// </summary>
        public DeviceComponentTypeEnum CompentType { get; set; }

        [SugarColumn(IsIgnore =true)]
        /// <summary>
        /// 部件名称
        /// </summary>
        public string CompentTypeName { get; set; }

        public StatusEnum Status { get; set; }

        [SugarColumn(IsIgnore =true)]
        public string StatusName { get; set; }

        /// <summary>
        /// 1. 负荷时间  2.停机时间
        /// </summary>
        public int Type { get; set; }


    }
}
